package com.example.cadmin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.cadmin.entity.MyMenu;
import com.example.cadmin.entityVo.MenuIndexDto;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author  zzsoft 
 * @since 2023-01-07
 */
public interface MyMenuMapper extends BaseMapper<MyMenu> {
    /*
    通过用户id返回菜单
     */
    List<MenuIndexDto> getMenu(Integer userId);
}
